var util = require('../../utils/util');
var wxRequest = require('../../utils/wxRequest');
import config from '../../utils/config';
import { $wuxLoading } from '../../dist/index'

var App = getApp();
var that;

Page({
  data: {
    nickName: '',
    code: '',
    avatarUrl: ''
  },
  onLoad: function () {
	  util.loading = $wuxLoading();
    this.setData({
      nickName: App.globalData.user.nickName,
      code: App.globalData.user.code,
      avatarUrl: App.globalData.user.avatarUrl
    });
  }
})
